package cn.edu.nciae.libindex.repository;


import cn.edu.nciae.libindex.entity.Book;
import org.springframework.data.elasticsearch.annotations.Query;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

/**
 * Book Repository
 *
 * @author suddev
 * @create 2018-03-31 下午12:58
 **/
public interface BookRepo extends ElasticsearchRepository<Book,String> {

    List<Book> findByBookName(String bookName);
}
